<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <f:facet name="first">
            <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
            <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
            <meta name="apple-mobile-web-app-capable" content="yes"/>
        </f:facet>
        <h:outputStylesheet library="css" name="main.css"/>
        <h:outputScript library="js" name="main.js"/>
        <ui:insert name="head">
            <title>云驼科技</title>
        </ui:insert>
    </h:head>
    <h:body>
        <ui:insert name="menu">
            <ui:include src="/menu.xhtml"/>
        </ui:insert>
        
        <h:form id="fm" class="mainfm">
            <ui:insert name="form"/>

            <ui:insert name="growl">
                <p:growl globalOnly="true" showDetail="true" sticky="true">
                    <p:autoUpdate/>
                </p:growl>
            </ui:insert>

            <!-- 禁用掉输入框默认的回车提交事件 -->
            <p:commandButton id="my_dftCmdBtn" type="button" style="position: fixed;bottom: 0;right: 0;visibility: hidden;"/>
            <p:defaultCommand target="my_dftCmdBtn"/>
        </h:form>

        <ui:insert name="outer"/>
        <p:tooltip position="left"/>
        <p:confirmDialog id="cfmDlg" styleClass="cfmDlg" global="true" closeOnEscape="true" header="确认框" responsive="true">
            <p:commandButton value="确定" type="button" styleClass="ui-confirmdialog-yes" icon="ui-icon-check" />
            <p:commandButton value="取消" type="button" styleClass="ui-confirmdialog-no" icon="ui-icon-close" />
        </p:confirmDialog>
    </h:body>
</html>
